home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Grand Slam 3
/
Grand Slam 3.iso
/
002
/
tfile078.arj
/
TOPFILE.DOC
< prev
next >
Wrap
Text File
|
1995-08-25
|
21KB
|
441 lines
╒═════════════════════════════════════════════════════════════╕
│ ┌───────┐┌──────┐┌──────┐ ┌──────┐┌─┐┌─┐ ┌──────┐ │
│ └───────┘└──────┘└──────┘ └──────┘└─┘└─┘ └──────┘ │
│ ┌─┐ ┌─┐ ┌─┐┌──────┐ ┌────┐ ┌─┐┌─┐ ┌──────┐ │
│ │ │ │ │ │ ││ ┌────┘ │ ┌──┘ │ ││ │ │ ┌────┘ │
│ │ │ │ └──┘ ││ │ │ │ │ ││ └────┐│ └────┐ │
│ └─┘ └──────┘└─┘ └─┘ └─┘└──────┘└──────┘ │
╘═════════════════════════════════════════════════════ v0.78 ═╛
A Top Downloaded Files Statistic Producer
(c) Copyright 1994, 1995, Dwayne Heaton
╒═══════════════════════════════════════════════════╕
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Index ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
╞═══════════════════════════════════════════════════╡
│ Introduction │
│ What is TOPFILE? 1.1 │
│ System Hardware & software requirements 1.2 │
│ Disclaimer and Licensing agreement 1.3 │
│ Installation 2.0 │
│ Usage │
│ Command Line 3.1 │
│ The TOPFILE.CTL file 3.2 │
│ The TOPFILE.EXC file 3.3 │
│ Bug Reports and Contacting the Author 4.0 │
│ Credits and Thanks 5.0 │
└───────────────────────────────────────────────────┘
╒══════╤══════════════════════════════════════════════════════════════════════╕
│ 1.1 │ What is TOPFILE ? ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
╘══════╧══════════════════════════════════════════════════════════════════════╛
TOPFILE is a 'Top Downloaded Files' ASCII/ANSi/AVATAR bulletin generator.
It was originally written to produce a screen for my users to view, showing
the most popular files on my system. I know that there are several programs
out there that also perform the same function, but I wanted to try out my
programming skills and write my own. Thus, TOPFILE was born....
I designed it to produce the ASCII/ANSi/ATATAR bulletins as quickly as
possible with the obsolute minumin of configuration. I hope I've suceeded.
And finally, the program is NOT crippled in any way whatsoever, and DOESN'T
require any registration fees at all :-)
╒══════╤══════════════════════════════════════════════════════════════════════╕
│ 1.2 │ System hardware and software requirements ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
╘══════╧══════════════════════════════════════════════════════════════════════╛
* An IBM PC, XT, AT or 100% compatible PC with a hard disk.
* Microsoft MS-DOS, IBM PC-DOS or DR-DOS version 3.30 or later. Version
5.0 or later is recommended.
* At least 128KB of RAM available.
* At the moment TOPFILE only supports the following BBS filebases:
- Remote Access Copyright (c) Wantree Development & Andrew Milner
* TOPFILE has been successfully tested with the file base as used in
Remote Access v2.00, v2.01 and v2.02
* TOPFILE has been successfully tested with MS-DOS 5.0, 6.0, 6.2 and
6.22, 4DOS 5.0 and 5.5, IBM OS/2 WARP, Novell Netware Lite v1.1,
Novell Netware v3.12 on systems equiped with Intel/AMD 8086, 80286,
80386 and 80486 processors.
* OS/2 is a registered trademark of IBM Corporation
MS-DOS is a registered trademark of Microsoft Corporation
All other programs are copyright and/or trademarked by their
respective author unless otherwise noted.
╒══════╤══════════════════════════════════════════════════════════════════════╕
│ 1.3 │ Disclaimer and Licensing Agreement ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
╘══════╧══════════════════════════════════════════════════════════════════════╛
TOPFILE consists of all files contained within the distribution archive.
Before running TOPFILE, you must read and agree to the following
conditions. If you do not or can not agree to and accept the following
conditions, you are prohibited from using TOPFILE.
* TOPFILE is copyrighted material by Dwayne Heaton and may only be used in
accordance with the conditions set forth in this license agreement.
* TOPFILE is distributed as a FREEWARE program.
Permission is granted to any individual or institution to use, copy, or
redistribute TOPFILE as long as it is not modified and that it is not sold
for profit.
* I (Dwayne Heaton) am NOT oligated to provide new versions or support for
TOPFILE.
* In the event that future versions of TOPFILE are released, Dwayne Heaton
reserves the right not to release them under the FREEWARE concept and to
charge a nominal fee should it be deemed appropriate.
* Although care has been taken to write and test a program that does what
this document states, the program is provided as is, without warrenty or
guarantee of any kind, either expressed or implied, as to the quality or
performance of this program, except that TOPFILE will occupy disk space.
* The author of TOPFILE, Dwayne Heaton, is NOT responsible for any (direct
or indirect) damage or costs, including, but not limited to, lost savings,
lost profits and loss of data, which may result from the use or the
inability to use TOPFILE.
* You are NOT allowed to do any disassembling, reverse engineering, creating
patches for TOPFILE and things alike.
* If you use this program, you will constitute your agreement to this
disclaimer/license.
* The source code or part of it, is NOT available.
* All rights reserved worldwide.
╒══════╤══════════════════════════════════════════════════════════════════════╕
│ 2.0 │ Installation ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
╘══════╧══════════════════════════════════════════════════════════════════════╛
I tried to make using TOPFILE as easy to use as I possibly could. Just
unpack the archive into one directory, and its ready to use straight away.
A new feature of TOPFILE (as from v0.74) is the ability to configure the
program to suit your system.
The config file ('TOPFILE.CTL') must be in the same directory that you are
running TOPFILE from. It doesn't have to exist, but it should exist if you
want greater control over the program (since it gives you more options than
the command line). The control (config) file is explained in more detail
in section 3.2, 'The TOPFILE.CTL file'
TOPFILE will now allow you to specify a list of file names and or file
areas you wish excluded from the bulletin(s). This file is explained in
more detail in section 3.3, 'The TOPFILE.EXC file'
You will need to have the RA environment variable set, so that it points
to your Remote Access system directory, but if you are running RA without
any problems, this should be already be set :)
Once you have installed TOPFILE all you need to do is run it to produce
the ASCII/ANSi/AVATAR bulletin. The bulletins created are placed in the
main Text Files directory as specified in your RemoteAccess configuration.
You could run TOPFILE after every call to the BBS, or you could run it in
any daily maintenance events.
Note - If you have a large number of file areas and/or files TOPFILE can
take some time. (Performance is improved if you use a disk caching
program)
TOPFILE will try and use SHARE to open all files it needs. This
will allow multi-line BBS's to run it without getting any file
sharing violations.
╒══════╤══════════════════════════════════════════════════════════════════════╕
│ 3.1 │ Command Line ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
╘══════╧══════════════════════════════════════════════════════════════════════╛
There are a few command-line options you can use for greater control over
the program's operation. When used in conjunction with the control file
these options over-ride any settings in the file.
If you do not specify any options TOPFILE will use its internal defaults
of ignoring FREE and MISSING files, including every file, not performing
a secondary sort (see -SORTAREA & -SORTNAME below), generating ASCII and
ANSi screens and auto detecting the display type..
TOPFILE -? Shows a brief help screen with all options listed
on it.
-HELP Same as above.
-NOFREE This will tell TOPFILE to exclude any file that
is a free download to users in the bulletin.
(A free file is one that has been flagged as a
free download or any file that is in an Area
which has been set to free.)
-USEAREA This forces TOPFILE to use the area number and
area description instead of using the file
description. Useful if you have alot of files
with borders..
-NOMISSING This will make TOPFILE to exclude any file that
has been flagged as missing.
-NOASCII Stops TOPFILE producing ASCII bulletins
-NOANSI Stops TOPFILE producing ANSi bulletins
-NOAVATAR Stops TOPFILE producing AVATAR bulletins
-MONO Forces TOPFILE to use its mono-chrome display scheme
-COLOUR Forces TOPFILE to use its colour display scheme
-SORTNAME Performs a secondary sort on all files with the
same download count, and orders them by filename
-SORTAREA Performs a secondary sort on all files with the
same download count, and orders them by file area
number.
-SEC=<num> The maximium list security to include in the
bulletin.
╒══════╤══════════════════════════════════════════════════════════════════════╕
│ 3.2 │ The TOPFILE.CTL File ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
╘══════╧══════════════════════════════════════════════════════════════════════╛
As said before the control (config) file will allow you to fully configure
TOPFILE to your system. It will allow you to set all the options that the
commandline does, but with has several more options.
If this is a new installation just run SETUP.EXE to create an initial
TOPFILE.CTL file with default settings.
If this is an upgrade installation, run SETUP.EXE to update your existing
TOPFILE.CTL with any new options. Follow the on screen information.
The options can be in any order, but the option and the value must be
separated by at least one space. Any line starting with a ';' is counted
as a comment line and isn't processed.
Here is a list of options you can use, and a description or what they do.
Description Description type to use.
IncludeFree Whether to include free files in the bulletin.
IncludeMissing Whether to include missing files in the bulletin.
ASCII Produce ASCII bulletins.
ANSi Produce ANSi bulletins.
AVATAR Produce AVATAR bulletins.
Colour Use colour or mono-chrome on local display.
FileSort The Top Files secondary sort type.
AreaSort The Area Statistics primary sort type.
HighSecurity Highest FileArea ListSecurity to include.
TitleColour The 'Top xx Files on ..' colour.
BorderColour The colour of the box around all the list of files.
FileColour Which colour the filename is displayed in.
CountColour Colour of the times downloaded count.
SizeColour The colour of the size (in Kb) of the file.
DescriptionColour The colour you want the file description to be.
ASC_TopFiles The filename of the Top Files ASCII bulletin.
ANS_TopFiles The filename of the Top Files ANSi bulletin.
AVT_TopFiles The filename of the Top Files AVATAR bulletin.
ASC_AreaStat The filename of the Area Statistics ASCII bulletin.
ANS_AreaStat The filename of the Area Statistics ANSi bulletin.
AVT_AreaStat The filename of the Area Statistics AVATAR bulletin.
Description accepts the following values : File, Area
IncludeFree, IncludeMissing, Ascii, Ansi, Colour, Sort accept the following
values : Yes, No, On, Off, True, False
FileSort accepts the following values : File, Area, None
AreaSort accepts the following calues : None, File, Size, Downloads.
IncludeSysop, UseHandles, UseHidden, ASCII, ANSi, AVATAR and Colour accept
the following values : Yes or No, On or Off, True or False
A??_TopFiles and A??_AreaStat reconize the following values : No, Off,
False. Any thing other these will be interpreted as a filename..
HighSecurity must be an integer, from 0 to 65535.
TitleColour, BorderColour, FileColour, CountColour, SizeColour,
DescriptionColour accept valid colour names or numbers.
╓─────────────────── Table of valid names and numbers ────────────────────╖
╠════╤══════════╗╔════╤══════════════╗╔════╤════════════╗╔════╤═══════════╣
║ 0 │ Black ║║ 1 │ Blue ║║ 2 │ Green ║║ 3 │ Cyan ║
║ 4 │ Red ║║ 5 │ Magenta ║║ 6 │ Brown ║║ 7 │ LightGray ║
║ 8 │ DarkGray ║║ 9 │ LightBlue ║║ 10 │ LightGreen ║║ 11 │ LightCyan ║
║ 12 │ LightRed ║║ 13 │ LightMagenta ║║ 14 │ Yellow ║║ 15 │ White ║
╠════╧══════════╝╚════╧══════════════╝╚════╧════════════╝╚════╧═══════════╣
╙─────────────────────────────────────────────────────────────────────────╜
╒══════╤══════════════════════════════════════════════════════════════════════╕
│ 3.3 │ The TOPFILE.EXC File ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
╘══════╧══════════════════════════════════════════════════════════════════════╛
TOPFILE has the ability to use an external file of unwanted file names and
areas. It will use this list to filter out files and/or areas from the
'Top Downloaded Files' bulletins.
The exclude file must be called 'TOPFILE.EXC' (without qoutes) and MUST be
located in the TOPFILE system directory (The directory you run TOPFILE
from.)
TOPFILE.EXC is a plain ASCII text file, created with any text editor.
It has a specific format which is as follows:
<exclusion type> <exclusion information>
To exclude a file, the <exclusion type> is 'file' (no quotes, and any case)
and the <exclusion information> is the file name.
Note:- There _MUST_ only be one file name per file exclusion line, and
the file name must have no spaces between the base name and the
extension. File names can be in any case but WILDCARDS ARE NOT
SUPPORTED.
Examples:- file ALLFILES.ZIP is a valid file exclusion
file READ .ME is an invalid file exclusion
(This would be ignored)
READ.ME is an invalid exclude line
(This would be ignored)
READ .ME is invalid exclude line
(This would be ignored)
To exclude a file file, the <exclusion type> is 'area' (no quotes, and any
case) and the <exclusion information> is the file area or you can specify
a range of areas to exclude thus <start file area>-<end file area>
Note:- There _MUST_ only be one file area(s) exclusion per area exclusion
line, and if a range is specified there must be no spaces in the
definition of the range. Comma's in the area number(s) are not
tollerated.
Examples:- area 1 is a valid single area exclusion
area 20-40 is a valid area range exclusion
area 40-20 is a valid area range exclusion, but
it would be converted to 20-40
area 20 - 40 is an invalid area range exclusion
1 is an invalid exclusion line
(This would be ignored)
20-40 is an invalid exclusion line
(This would be ignored)
A sample Exclude file may look like this:
----------------------------
file ALLFILES.ZIP
file ALLFILES.ARJ
file BBS_AD.ZIP
area 1
area 5
area 20-30
area 32-33
----------------------------
This would exclude any ALLFILES.ZIP, ALLFILES.ARJ and BBS_AD.ZIP files, and
exclude file areas 1, 5, 20 to 30 and 32 to 33.
╒══════╤══════════════════════════════════════════════════════════════════════╕
│ 4.0 │ Bug Reports and Contacting the Author ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
╘══════╧══════════════════════════════════════════════════════════════════════╛
Please contact me if you have any bug reports and/or suggestions for
improvements to TOPFILE.
If you have a bug report, just mail a filled in REPORT.BUG (this file
should have been included in the distribution archive) to me at one of
the addresses below.
I'm open to suggestions for support for other BBS software. If you wish
this please supply the structure of the filebase (and all related files)
files (PASCAL is prefered, but I can work with C) of the BBS you wish
supported (Also, could you give me a list of environment variables it
uses, and what they point to, ie RA points to the Remote Access system
directory, the config and filebase datafiles). I cannot guarantee it
will be supported, but you never know.
I can be contacted using a number of different methods:
Page/Leave a message on my BBS:
Virtual Maddness -- +44-1344-422575 -- 24 hours, 300 to 28800 baud
Send a netmail to me at one of my various AKAs:
FidoNet : 2:252/314
RANet : 73:7441/13
PascalNet : 115:4401/407
InterNet : dwayne@vmadd.demon.co.uk
╒══════╤══════════════════════════════════════════════════════════════════════╕
│ 5.0 │ Credits and Thanks ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
╘══════╧══════════════════════════════════════════════════════════════════════╛
Thanks to my beta testers for helping me test my progs and for their
numerous suggestions, helpful criticism and for the multitude of
bug reports.
Thanks to Andrew Pappas, Michael Devonport and Peter Burnett for their
help with the Multi-Line BBS support.
Thanks to Peter Burnett for supplying various bits of source code.
Also thanks must go out to all the people who have sent suggestions
to me (Please keep it up), no names since you know who you are (actually
the list is too large to be included here)
Beta Testers
============
Andrew Thomas Andy's Bulletin Board! +44-161-343-4730
FidoNet 2:250/176
RANet 73:7446/15
Dean Rocks The Happy Hippy BBs +44-1325-354105
FidoNet 2:256/602
RANet 73:7447/602
Steven Holme The Fonty Towers BBS +44-115-952-7443
FidoNet 2:2503/216 +44-115-955-4440
2:2503/226
RANet 73:7444/22
Peter Burnett Neverland eXpress +44-1424-853361
FidoNet 2:441/80
RANet 73:7441/206
Michael Devonport Midnite Madness BBS +44-181-287-5901
FidoNet 2:254/301
RANet 73:7441/15
Simon Cansick Guru-Ten BBS +44-1535-691734
FidoNet 2:250/364 +44-1535-691735
2:250/365
RANet 73:7448/13
╒═════════════════════════════════════════════════════════════════════════════╕
│ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ End of File TOPFILE.DOC ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
╘═════════════════════════════════════════════════════════════════════════════╛